package com.original.simuladoresws.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import com.original.simuladoresws.controller.ObjectSaveController;
import com.original.simuladoresws.entities.soap.SOAPBaseOutput;
import com.original.simuladoresws.entities.soap.SOAPObjectSaveInput;

@WebService(serviceName="/objectiveSaveService")
@SOAPBinding(style = Style.RPC, use = Use.LITERAL)
public class ObjectiveSaveService{
	ObjectSaveController controller = new ObjectSaveController();
	
    @WebMethod(operationName="objectiveSave")
    public SOAPBaseOutput objectiveSave(SOAPObjectSaveInput input) {
        return controller.objectiveSave(input);
    }
}
